<@user.user_html>
    <div class="clear"></div>    
	<div class="project">
    	<div class="prowarp">
        	<div class="left">
                <div class="list">
                    <div class="top"><img src="${base}/images/list_top3.gif" /></div>
                    <div class="midx">
                        <ul class="fat">
                            <li class="check"><span><a href="${base}/user/friend/">老朋友</a></span></li>
                           	<li ><span><a href="${base}/user/friend/index!waited">新朋友</a></span></li>
                        </ul>
                    </div>
                    <div class="bot"><img src="${base}/images/list_bottom.gif" /></div>
                </div>
			</div>
        	<div class="peoright">
        		<#--
				<div class="peoseach">
					<div class="pleft">
						<select name="select" >
							<option>全部职业</option>
						</select>
						<select name="select" >
							<option>全部会员</option>
						</select>
						<input name="" type="checkbox" value="" /><span>身份验证</span>
                      
						<input name="" type="checkbox" value="" /><span>MIP</span>
					</div>
                    <div class="pright">
						<select name="select" >
							<option>所在地</option>
						</select>
						<select name="select" >
							<option>性别</option>
						</select>
                    </div>
                    <div class="clear"></div>
                    <p>
                    	共找到 17 人
                    </p>
				</div>
                
                
				<div class="doboth">
             	操 作
				</div>
                -->

			<#list friendConfigPage.result as config>
            <div class="bothinput">
                <div class="memberbox1 member0">
                	<div class="peostatu">
						<img src="${base}/images/statu_up.gif" />
						<h3>VIP</h3>
					</div>
					<div class="peoimg"><img src="${base}/images/temp/peoimg.jpg" /></div>
					<div class="peobody">
						<div class="ptitle">
							<span><a href="${base}/space/?domain=${(config.relater.user.loginName)!}" target="_blank">${(config.relater.user.loginName)!}</a></span>
                            <span>${(config.relater.user.city)!}</span>
						</div>
						<div class="pbody">
							<span><#--粉丝(415人)--></span>
                            <span>${(config.relater.user.registDate)!}</span>
						</div>
						<div class="pbottom">
							<#--<span><a href="#">老朋友</a><img src="${base}/images/both_ico.gif" /></span>-->
                            <span><a href="#" onclick="confirmDelete('${config.id?c}')">删除朋友</a><img src="${base}/images/both_ico.gif" /></span>
						</div>
                        <div class="pfoot">
                        	<#--
                        	<span><a href="#">添加关注</a></span>
                            <span><a href="#">解除关注</a></span>
                            <span><a href="#">拉黑名单</a></span>
                            -->
                        </div>
                        <div class="clear"></div>
					</div>
					
				</div>
                <div class="clear"></div>
			</div>
			</#list>
            <div class="clear"></div>
           <#-- <div class="star_save"><input name="" type="button" class="w" value="删除全部"/></div>-->

		  </div>
            <div class="clear"></div>
        </div>
    </div>
<script>
	function resetValue(obj_id){
		var flag=document.getElementById(obj_id).checked;
		if(flag){
			document.getElementById(obj_id+"_value").value=1;
		}else{
			document.getElementById(obj_id+"_value").value=0;
		}
	}
	
	function confirmDelete(cId){
		if(cId==null||cId==""){
			return;
		}
		if(window.confirm('确认删除该朋友吗')){
			window.location.href="${base}/user/friend/index!delete?id="+cId+"&active=${active!}";
		}
	}
</script>	
</@user.user_html>

